package practice;

public class PracticeDay3 {
    public static void main(String[] args) {
        //1.1
        System.out.println("1.1------");
        int a = 76, a1 = 21;
        a %= 10;
        a1 %= 2;
        System.out.println(a);
        System.out.println(a1);
        //1.2
        System.out.println("1.2------");
        int a3 = 0;
        int a4 = 0;
        a3++;
        ++a4;
        System.out.println(a3);
        System.out.println(a4);
        //1.3
        System.out.println("1.3------");
        int a5 = 0;
        int a6 = 0;
        int a5_1 = a5++;
        int a5_2 = ++a6;
        System.out.println(a5);
        System.out.println(a6);
        System.out.println(a5_1);
        System.out.println(a5_2);

        //2.1
        System.out.println("2.1------");
        int b = 5, b1 = 10, b2 = 5;
        boolean b3 = b1>b2;
        System.out.println(b3);
        System.out.println(b2<b1);
        System.out.println(b>=b2);
        System.out.println(b<=b1);
        System.out.println(b1==b2);
        System.out.println(b1!=b2);
        //2.2
        System.out.println("2.2------");
        System.out.println(b1+b2==b);
        System.out.println(b2%2==0);
        System.out.println(b1++>5);
        System.out.println(b1++>5);

        //3.1
        System.out.println("3.1------");
        //&&
        int c1=5,c2=10,c3=5;
        boolean c =c2>=c1 && c2<c3;
        System.out.println(c);//false
        System.out.println(c2<=c3 && c2>c1);//false
        System.out.println(c1==c2 && c3>c2);//false
        System.out.println(c2!=c3 && c1<c2);//true
        //||
        System.out.println(c2>=c1 || c2<c3);//true||false=true
        System.out.println(c2<=c3 || c2>c1);//false||true=true
        System.out.println(c2!=c3 || c1<c2);//false||true=true
        System.out.println(c1==c2 || c3>c2);//false||false=false





    }
}
